#ifndef _LOGINDIALOG_H
#define _LOGINDIALOG_H


#include <gtk/gtk.h>


class LoginDlg {
private:
	struct {
		GtkWidget *window;
		GtkWidget *usertext;
		GtkWidget *passwordtext;
		GtkWidget *keep;
	} gtk;

	static gboolean delete_event_callback(GtkWidget *widget,GtkWidget *event,gpointer data);
	static void ok_clicked_callback(GtkWidget *widget,gpointer data);
	static void cancel_clicked_callback(GtkWidget *widget,gpointer data);

public:
	LoginDlg(GtkWindow *parent);
	~LoginDlg();
};


#endif /* _LOGINDIALOG_H */


